package com.longcai.mapper.homegood;

import com.longcai.entity.homegood.ClyjGoodsSpec;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 商品规格表 Mapper 接口
 * </p>
 *
 * @author LWK
 * @since 2019-03-22
 */
@Mapper
@Repository
public interface ClyjGoodsSpecMapper extends BaseMapper<ClyjGoodsSpec> {

    ClyjGoodsSpec selectSpec(String id);

    void  updatenum(@Param("id") String id, @Param("num")Integer num);
}
